<%-- 
    Document   : header
    Created on : Mar 7, 2012, 11:43:11 AM
    Author     : Tri ben tre
--%>

<%@page import="MODEL.POJO.Users"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<div id="tempaltemo_header">
    <div id="site_title" >
        <%
            String testing = (String) request.getAttribute("testing");
            if (testing != null && testing.equals("1")) {
        %>
        <a href="#" STYLE="COLOR:BLACK;" id="finish">FINISH</a>
        <% } else {
            Users u = (Users) session.getAttribute("user");
            if (u == null) {
        %>
        <a href="#" STYLE="COLOR:BLACK;" id="start">START</a>
        <% } else { session.setAttribute("examCode", null);%>
        <a href="#" STYLE="COLOR:BLACK;" id="startWhenLogined">START</a>
        <% }
            }%>
    </div> <!-- end of site_title -->

    <div id="header_right">
        <h1>TOEFL Grammar Exercises</h1>
        <p>Not sure which exam is right for you? Test your English with our quick, free online test. It will give you an idea of your English level and tell you which Cambridge ESOL exam might be the most appropriate for you, whether you are in the UK or anywhere in the world.</p>
        <div class="btn_more image_fr"><a href="blog_post.html">Test now!</a></div>
    </div> 
    <div class="cleaner"></div>
</div> <!-- end of tempaltemo header -->
